#include <iostream>
#include "linkedlist.h"
using namespace std;

main()
{
  linkedList *myLinkedListPtr = new linkedList;
  linkedListItem *anItemPtr;
  myLinkedListPtr->add(5);
  myLinkedListPtr->add(9);
  myLinkedListPtr->add(10);

  anItemPtr = myLinkedListPtr->find(9);
  cout << "Head: " << myLinkedListPtr->head()->value << endl;
  cout << "Tail: " << myLinkedListPtr->tail()->value << endl;
  cout << "Found: " << anItemPtr->value << endl;
}
